package com.ruoyi.live.mapper;

import java.util.List;
import com.ruoyi.live.domain.TbWatch;

/**
 * guankan jiluMapper接口
 * 
 * @author sun
 * @date 2023-01-30
 */
public interface TbWatchMapper 
{
    /**
     * 查询guankan jilu
     * 
     * @param watchId guankan jilu主键
     * @return guankan jilu
     */
    public TbWatch selectTbWatchByWatchId(Integer watchId);

    /**
     * 查询guankan jilu列表
     * 
     * @param tbWatch guankan jilu
     * @return guankan jilu集合
     */
    public List<TbWatch> selectTbWatchList(TbWatch tbWatch);

    /**
     * 新增guankan jilu
     * 
     * @param tbWatch guankan jilu
     * @return 结果
     */
    public int insertTbWatch(TbWatch tbWatch);

    /**
     * 修改guankan jilu
     * 
     * @param tbWatch guankan jilu
     * @return 结果
     */
    public int updateTbWatch(TbWatch tbWatch);

    /**
     * 删除guankan jilu
     * 
     * @param watchId guankan jilu主键
     * @return 结果
     */
    public int deleteTbWatchByWatchId(Integer watchId);

    /**
     * 批量删除guankan jilu
     * 
     * @param watchIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbWatchByWatchIds(Integer[] watchIds);
}
